#ifndef __INIT_H__
#define __INIT_H__ 

#define u16 unsigned int
#define u8  unsigned char
#define u32 unsigned long
#define WELA P27
#define DULA P26
#define RXBUFFER 64
#define T0L_1MS  0x66
#define T0H_1MS  0xFC
#define UARTTIMEOUT 5

#define BPS_T2L_115200  0xFD
#define BPS_T2H_115200  0xFF

#define BPS_T2L_9600  0xDC
#define BPS_T2H_9600  0xFF

extern  u16 time0IntNum;
extern  u16 time1IntNum;
extern u8 receiveOverFlag;
extern u8 timeOut;
extern u8 xdata receiveBuf[RXBUFFER];
extern u8 xdata receiveDataNum;
void Init();
#endif